<!--引入公共页面-->
<!DOCTYPE html>
<html lang="zh-cn">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="renderer" content="webkit">
		<title>拼图后台管理-后台管理</title>
		<link rel="stylesheet" href="http://127.0.0.1/lidongxing/HDphpblog2016/public/admin/css/pintuer.css">
		<link rel="stylesheet" href="http://127.0.0.1/lidongxing/HDphpblog2016/public/admin/css/admin.css">
		<script src="http://127.0.0.1/lidongxing/HDphpblog2016/public/admin/js/jquery.js"></script>
		<script src="http://127.0.0.1/lidongxing/HDphpblog2016/public/admin/js/pintuer.js"></script>
		<script src="http://127.0.0.1/lidongxing/HDphpblog2016/public/admin/js/admin.js"></script>
		<link type="image/x-icon" href="http://www.pintuer.com/favicon.ico" rel="shortcut icon" />
		<link href="http://www.pintuer.com/favicon.ico" rel="bookmark icon" />
	</head>

	<body>
		<div class="lefter">
			<div class="logo">
				<a href="http://www.pintuer.com" target="_blank"><img src="http://127.0.0.1/lidongxing/HDphpblog2016/public/admin/images/logo.png" alt="后台管理系统" /></a>
			</div>
		</div>
		<div class="righter nav-navicon" id="admin-nav">
			<div class="mainer">
				<div class="admin-navbar">
					<span class="float-right">
                    	<a class="button button-little bg-main" href="http://www.pintuer.com" target="_blank">前台首页</a>
                   	 	<a class="button button-little bg-yellow" href="http://127.0.0.1/lidongxing/HDphpblog2016/index.php?s=admin/entry/out">注销登录</a>
                	</span>
					<ul class="nav nav-inline admin-nav">
						<li class="active">
							<a href="index.html" class="icon-th-list"> 开始</a>
							<ul>
								<li><a href="system.html">系统设置</a></li>
								<li><a href="content.html">内容管理</a></li>
								<li><a href="#">订单管理</a></li>
								<li class="active"><a href="#">会员管理</a></li>
								<li><a href="#">文件管理</a></li>
								<li><a href="#">栏目管理</a></li>
							</ul>
						</li>						
						<li>
							<a href="http://127.0.0.1/lidongxing/HDphpblog2016/index.php?s=admin/cate/index" class="icon-home"> 栏目管理</a>
							<ul>
								<li><a href="#">添加内容</a></li>
								<li class="active"><a href="#">内容管理</a></li>
								<li><a href="#">分类设置</a></li>
								<li><a href="#">链接管理</a></li>
							</ul>
						</li>
						<!--<li><a href="#" class="icon-shopping-cart"> 订单</a></li>-->
						<li><a href="#" class="icon-user"> 会员管理</a></li>
						<li><a href="#" class="icon-file"> 模版设置</a></li>
						<li><a href="#" class="icon-suitcase" > 扩展工具</a></li>
						<li>
							<a href="system.html" class="icon-cog"> 系统配置</a>
							<ul>
								<li><a href="#">全局设置</a></li>
								<li class="active"><a href="#">系统设置</a></li>
								<li><a href="#">会员设置</a></li>
								<li><a href="#">积分设置</a></li>
							</ul>
						</li>
					</ul>
				</div>
				<div class="admin-bread">
					<span>您好，admin，欢迎您的光临。</span>
					<ul class="bread">
						<li><a href="index.html" class="icon-home"> 开始</a></li>
						<li>后台首页</li>
					</ul>
				</div>
			</div>
		</div>

		<div class="admin">
				


		<div class="admin">
			<!-- 选项卡开始 -->
			<div class="tab">
				<!-- 顶部选项卡-->
				<div class="tab-head">
					<strong>栏目管理</strong>
					<ul class="tab-nav">
						<li class="active"><a href="#tab-set">栏目列表</a></li>
						<li><a href="#tab-email">待审核</a></li>
						<li><a href="#tab-upload">定时发布</a></li>
						<li><a href="#tab-hui">回收站</a></li>
					</ul>
				</div>
				<!-- 顶部选项卡结束 -->
				<!-- 选项卡内容开始 -->
				<div class="tab-body">
					<!-- 选项卡1开始 -->
					<div class="tab-panel active" id="tab-set">
						<div class="panel admin-panel">
						<div class="panel-head"><strong>栏目管理</strong></div>
						<div class="padding border-bottom">
							<input type="button" class="button button-small checkall" name="checkall" checkfor="id" value="全选" />
							<input type="button" class="button button-small border-green" value="栏目列表" />
							<input type="button" class="button button-small border-yellow" value="添加顶级栏目" />
							<input type="button" class="button button-small border-yellow" value="批量删除" />					
							<input type="button" class="button button-small border-blue" value="回收站" />
						</div>
						<table class="table table-hover">
						<tr>
							<th width="45">选择</th>
							<th width="45">CID</th>							
							<th width="45">排序</th>
							<th width="120">栏目名称</th>							
							<th width="120">栏目类型</th>
							<th width="100">模型</th>
							<th width="*">操作</th>
						</tr>
						<?php foreach ((array)$cate as $k=>$v){?>
						<tr>							
							<td  width="45"><input type="checkbox" name="id" value="12" /></td>
							<td  width="60"><?php echo $v['cate_id']?></td>
							<td width="100"><input type="text" name="cate_sort" value="<?php echo $v['cate_sort']?>" /></td>
							<td width="200"><?php echo $v['_cate_name']?></td>						
							<td width="120">封面</td>
							<td width="100">文章</td>
							<td>
								<a class="button border-blue button-little" href="#">访问</a> 
								<a class="button border-blue button-little" href="<?php echo U('admin/cate/addsoncate',array('id'=>$v['cate_id']))?>">添加子栏目</a> 
								
								<a class="button border-blue button-little" href="#">修改</a> 
								<a class="button border-yellow button-little" href="#" onclick="{if(confirm('确认删除?')){return true;}return false;}">删除</a>
							</td>							
						</tr>
						<?php }?>
											
						</table>
						<div class="panel-foot text-center">
							<ul class="pagination">
								<li><a href="#">上一页</a></li>
							</ul>
							<ul class="pagination pagination-group">
								<li><a href="#">1</a></li>
								<li class="active"><a href="#">2</a></li>
								<li><a href="#">3</a></li>
								<li><a href="#">4</a></li>
								<li><a href="#">5</a></li>
							</ul>
							<ul class="pagination">
								<li><a href="#">下一页</a></li>
							</ul>
						</div>
						</div>
					</div>
					<!-- 选项卡1结束 -->
					<!-- 选项卡2开始 -->
					<div class="tab-panel" id="tab-email">
							待审核
					</div>
					<!-- 选项卡2结束 -->
					<div class="tab-panel" id="tab-upload">文章状态</div>
					<div class="tab-panel" id="tab-hui">回收站</div>

				</div>
				<!-- 选项卡内容结束 -->
			</div>
			<!-- 选项卡结束 -->
		</div>


		</div>

	
	</body>

</html>
<!--定义模块内容-->
